home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
slay.zip
/
SLAY.DOC
< prev
Wrap
Text File
|
1991-10-24
|
4KB
|
93 lines
SLAY.COM - DIRECTORY KILLER
SLAY.COM is a pesticide for getting rid of nests of pesky files and
subdirectories. Like a pesticide, SLAY is compact, direct, powerful, and
dangerous. Used with care, however it is just the ticket for exterminating
those tangled burrows of unwanted guests. They may have come into your disk
by invitation, or they may have been dumped there by rude installation
programs. Whatever. You want to get rid of them NOW, and you don't want to
putz around with a dozens CDs, DELs and ATTRIBs, or with mass delete
utilities that ask you time-wasting questions. SLAY is for you.
SLAY is particularly useful to people with one floppy drive who use a
holding directory on the hard disk for duplicating diskettes.
The syntax is simple: SLAY <subdir> <N-switch (optional)>
<subdir> is the name of the directory you want to erase. All files and
subdirectories that descend from it will also disappear.
<N-switch> is the only option that SLAY takes and is optional. When
<subdir> is followed by a single space and an N or an n, all the
files and subdirectories below <subdir> will be erased, but <subdir>
will survive as an empty directory.
If SLAY is invoked without any arguments, it will display a brief
summary of the correct usage and exit.
You must be in the subdirectory immediately above the offending subdirectory.
There is no confirmation check, no menus, no nothing--just instant death for
the named subdirectory and dependent files and subdirectories.
If you put SLAY.COM in a path directory, (like C:\DOS> or C:\UTIL> on most
systems) it will always be available instantly at the DOS prompt.
If you do wipe out something you didn't mean to, it's recoverable with one of
the undelete utilities that come with Norton Utilities, PCTools, Mace, DOS 5.0,
etc. Almost everyone has one of those utilities, but if you don't, DO NOT USE
SLAY.COM UNTIL YOU HAVE ONE!!!
SLAY will not and cannot delete the root directory or its files.
Some examples follow. Consider the partial directory tree below:
C:-- TEMP-------WASTE---|---------SUB1----file.xxx
| | |
| file.aaa |
WP--(..) | SUB2--------------file.ddd--DEEP.SUB
| file.aaa | |
| | | file.ddd
DB--(..) file.aaa SUB3---file.bbb |
| | file.ddd
| file.bbb
ETC
Let's say you wanted to get rid of everything contained in WASTE: WASTE itself
and all the files and subdirectories that are shown to the right of WASTE.
You could do it two ways:
1.) CD to C:\TEMP> then type: SLAY WASTE
or:
2.) from the root directory, type: SLAY TEMP N
If you wanted to get rid of SUB2 and its files (*.ddd) plus DEEP.SUB and its
files (if any), you would: CD \TEMP\WASTE then: SLAY SUB2
That's all there is to it.
SLAY.COM returns an ERRORLEVEL. The only proper one is 3 -- Path Not Found
-- which means that SLAY was not run from the proper directory, or that the
target directory does not exist, or was mistyped on the command line. If any
other ERRORLEVEL is returned, it's likely to be caused by a bug in the
program.
Let there be no confusion: SLAY is NOT a virus hunter.
SLAY.COM may be distributed freely, so long as there is no charge for the
software itself or its use. Source code (asm) available on request.
SLAY.COM is offered with no guarantees: use at your own risk. Except for
this: if you report a bug, I will do all I can to fix it.
Please address bug reports and comments to the author:
Albert Duro, Compuserve No. 73757,2167
MAYAM Productions, 1991
250 Visitacion Ave.
Brisbane, CA 94005
415 468-2155